pattern n. 1.模范,榜樣;典范。 2.型,模型;模式;雛型;【冶金】原型。 3.花樣;式樣;(服裝裁剪的)紙樣;圖案,圖譜,圖表;機構(gòu),結(jié)構(gòu);特性曲線;晶體點陣;(電視的)幀面圖像。 4.方式;形式;格局;格調(diào)。 5.(衣料等的)樣品,樣本,樣板。 6.〔美國〕一件衣料。 7.(炮彈等的)散布面;靶子上的彈痕。 8.(飛機的)著陸航線。 a pattern wife 模范妻子。 a paper pattern for a dress 女服紙樣。 a machine of a new [an old] pattern新[舊]型機器。 a cropping pattern農(nóng)作制。 after the pattern of 仿…。 vt. 1.照圖樣做;仿造,摹制 (after; upon)。 2.給…加花樣,用圖案裝飾。 3.〔英方〕與…相比 (to, with)。 vi. 形成圖案。 pattern oneself after 模仿,學…的榜樣。 adj. -ed 仿造的;被組成圖案的(patterned forms【語言學】 仿造詞)。 n. -ing 圖案結(jié)構(gòu),圖形;(行為等的)特有型式。 adj. -less 無圖案的。
Figure 2 . sequence diagram for a stateful command pattern 圖2 .有狀態(tài)命令模式的程序表
This is an application of the command pattern 這是command模式的一個應用。
This invocation is modeled as a command pattern 這種調(diào)用采用命令模式。
Known as the command pattern to encapsulate this operator in an object )在對象中封裝這個運算符。
A simplified version of the command pattern is shown in figure 6 圖6顯示的是命令模式的一個簡化版本。
The command pattern used in this article has been simplified for clarity 本文中使用到的command模式為達到清楚明了,已作了一定的簡化。
All business logic is encapsulated in command objects by applying the command pattern 所有的業(yè)務邏輯通過應用command模式來封裝在command對象中。
Normally , such listeners are specified as instances of anonymous inner classes using the command pattern 通常,這樣的偵聽器通過使用命令模式( command pattern )被指定為匿名內(nèi)部類的實例。
Code that logs information to a file can be added to the execute operation of concretecommand in the command pattern 在command模式中,將信息記錄到文件中的代碼能夠被添加到concretecommand的execute ( )操作。
So far , i ve looked at asynchronous request response using message queues and business logic encapsulation using the command pattern 迄今為止,我已經(jīng)觀察到可以使用消息隊列來實現(xiàn)異步的請求或響應,以及使用command模式來實現(xiàn)商業(yè)邏輯封裝。
In object-oriented programming, the command pattern is a behavioural design pattern in which an object is used to represent and encapsulate all the information needed to call a method at a later time. This information includes the method name, the object that owns the method and values for the method parameters.